
<link href="{SKIN_PATH}comment/comment.css" rel="stylesheet" type="text/css" />

<script language="JavaScript" src="misc/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="{SKIN_PATH}comment/comment.js"></script>


<div class="mod">
	<div class="head">网友点评</div>
    
    <div class="body">
    	<ul class="comments" id="comment_list" style="display:;">
        	
            正在加载中...
            <script type="text/javascript">
				$(function(){
					$.get("?module=comment&action=ajax&mod={$mod}&field={$field}&value={$value}", function(result){
						$("#comment_list").css('display','none').html(result).fadeIn();
					  });
					  
					  
				})
				
			</script> 
        </ul>
    </div>
</div>
        
        
        
  <div class="mod">
  		<div class="head">我要点评/ 还可以输入 <font color="red" id="ls_description">255</font> 个字符！</div>
        <div class="body">
        	
            <form action="?module=comment&action=addpost" method="post" id="comment_form">
			<input type="hidden" name="commentinfo[module]" value="{$mod}"/>
			<input type="hidden" name="commentinfo[field]" value="{$field}"/>
			<input type="hidden" name="commentinfo[value]" value="{$value}"/>
		
          <p>
            <textarea cols="80" rows="3" name="commentinfo[content]" id="comment_content" require="true" datatype="limit" min="6" max="16" msg="内容不得少于6个字符或超过16个字符！" onKeyUp="checkLength(this, 'description', '140');"></textarea>
          </p>
          
          <p>
          	{php include_once('form.class.php');}
          	{form::checkcode('checkcodestr', 6)}
          </p>
          
          <p><input class="button button-primary" name="dosubmit" id="dosubmit" type="submit" value="发表评论" /></p>
        
        </form>
        
        </div>
  </div>
        
         